package sush.global.cammail.provider;

import android.net.Uri;
import android.provider.BaseColumns;

public abstract class BaseTable implements BaseColumns {
	protected String DATA_SET = "entities";
	protected String DATA_ENTITY = "entity";
	
	public final String _ID = BaseColumns._ID;
	public final String getTableName() { return DATA_SET; }
	public final Uri getContentUri() { return Uri.parse(Scheme.SCHEME + Scheme.AUTHORITY + "/" + DATA_SET); }
	public final Uri getContentIdUriBase() { return Uri.parse(Scheme.SCHEME + Scheme.AUTHORITY + "/" + DATA_ENTITY); }
	
	public final String getContentType() { return "vnd.android.cursor.dir/vnd.such." + DATA_ENTITY; }		
	public final String getContentItemType() { return "vnd.android.cursor.item/vnd.sush." + DATA_ENTITY; }
}
